package com.qianya.system.manage.web.login.mapper;

import com.qianya.model.pojo.login.vo.LoginUsersPermissionVO;
import com.qianya.system.manage.web.login.model.LoginUsersPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
public interface LoginUsersPermissionMapper extends BaseMapper<LoginUsersPermission> {
        List<LoginUsersPermissionVO> usernameFindPermission(@Param("uUsername")String uUsername,@Param("type") Integer type);

        List<LoginUsersPermissionVO> usernameFindPermissionAll(@Param("type") Integer type);
}
